import Find from '@/views/Find.vue'
import Friend from '@/views/Friend.vue'
import My from '@/views/My.vue'
import Shop from '@/views/Shop.vue'
import Music from '@/views/Music.vue'
import Download from '@/views/Download.vue'
import Notfound from '@/views/Notfound'

const routes = [
  {
    path: '/',
    redirect: '/find',
  },
  {
    path: '/CloudMusic',
    redirect: '/find',
  },
  {
    path: '/find',
    component: Find,
  },
  {
    path: '/My',
    component: My,
  },
  {
    path: '/Friend',
    component: Friend,
  },
  {
    path: '/Shop',
    component: Shop,
  },
  {
    path: '/Music',
    component: Music,
  },
  {
    path: '/Download',
    component: Download,
  },
  {
    path: '/My',
    component: My,
  },
  {
    path: '*',
    component: Notfound,
  },
]

export default routes
